package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitP201DeliversRouter(Router *gin.RouterGroup) {
	P201DeliversRouter := Router.Group("p201Delivers").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()).Use(middleware.OperationRecord())
	{
		P201DeliversRouter.POST("createP201Delivers", v1.CreateP201Delivers)             // 新建P201Delivers
		P201DeliversRouter.DELETE("deleteP201Delivers", v1.DeleteP201Delivers)           // 删除P201Delivers
		P201DeliversRouter.DELETE("deleteP201DeliversByIds", v1.DeleteP201DeliversByIds) // 批量删除P201Delivers
		P201DeliversRouter.PUT("updateP201Delivers", v1.UpdateP201Delivers)              // 更新P201Delivers
		P201DeliversRouter.GET("findP201Delivers", v1.FindP201Delivers)                  // 根据ID获取P201Delivers
		P201DeliversRouter.GET("getP201DeliversList", v1.GetP201DeliversList)            // 获取P201Delivers列表
	}
}
